/*
 * @Date: 2023-02-21 17:21:21
 * @LastEditors: mengqingchen mengqc1995@163.com
 * @LastEditTime: 2023-02-27 14:59:37
 * @FilePath: \sososn-web-new\src\router\routeCommon.js
 */
/*
 * @Author: mengqingchen mengqingchen@huaru.cc
 * @Date: 2022-11-07 20:07:40
 * @LastEditors: mengqingchen mengqc1995@163.com
 * @LastEditTime: 2023-02-22 16:30:31
 * @FilePath: \sososn-web-new\src\router\routeCommon.js
 * @Description:
 */
/*
 * @Author: mengqingchen mengqingchen@huaru.cc
 * @Date: 2022-11-07 20:07:40
 * @LastEditors: mengqingchen mengqingchen@huaru.cc
 * @LastEditTime: 2022-11-09 14:46:42
 * @FilePath: \soso-mall-pc\src\router\route.common.js
 * @Description:
 */
// 不需要鉴权的业务路由
import Layout from '@/layout/index.vue'
const commonRoutes = [
  {
    path: '/',
    component: Layout,
    redirect: 'homePage',
    children: [
      {
        path: 'homePage',
        component: () => import('@/views/homePage/index.vue'),
        name: 'homePage',
        meta: { title: '首页', menu: 'homePage' }
      },
      {
        path: 'customerCase',
        component: () => import('@/views/customerCase/index.vue'),
        name: 'customerCase',
        meta: { title: '客户案例', menu: 'customerCase' }
      },
      {
        path: 'customerCaseDetails/:details',
        component: () => import('@/views/customerCase/details/index.vue'),
        name: 'customerCaseDetails',
        meta: { title: '客户案例详情', menu: 'customerCase' }
      },
      {
        path: 'solution',
        component: () => import('@/views/solution/index.vue'),
        name: 'solution',
        meta: { title: '解决方案', menu: 'solution' }
      },
      {
        path: 'solutionDetails/:details',
        component: () => import('@/views/solution/solutionDetails/index.vue'),
        name: 'solutionDetails',
        meta: { title: '方案详情', menu: 'solution' }
      },

      {
        path: 'contactUs',
        component: () => import('@/views/contactUs/index.vue'),
        name: 'contactUs',
        meta: { title: '关于我们', menu: 'contactUs' }
      },
      {
        path: 'induestry/:product',
        component: () => import('@/views/bulkIndustry/index.vue'),
        name: 'induestry',
        meta: { title: '产品中心', menu: 'induestry' }
      }
    ]
  },
  {
    path: '/chatService',
    component: () => import('@/components/chatService.vue'),
    name: 'chatService',
    meta: { title: '智能客服' }
  }
]

export default commonRoutes
